package com.css.bjdt_core.ryxx.entity;

import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Readonly;
import org.nutz.dao.entity.annotation.Table;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@Table("T_M_RYINFO")
public class MRyInfo implements java.io.Serializable{
	private static final long serialVersionUID = 5454155825314635342L;
		
	//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
	//columns START
    /**
     * ryid       db_column: RYID 
     */
	@Name
	@Column("RYID")
	private String ryid;
	
    /**
     * zjlx       db_column: ZJLX 
     */
	@Column("ZJLX")
	private String zjlx;
    /**
     * zjhm       db_column: ZJHM 
     */
	@Column("ZJHM")
	private String zjhm;
    /**
     * xm       db_column: XM 
     */
	@Column("XM")
	private String xm;
    /**
     * xmpysx       db_column: XMPYSX 
     */ 
	@Column("XMPYSX")
	private String xmpysx;
    /**
     * xb       db_column: XB 
     */ 
	@Column("XB")
	private String xb;
    /**
     * mz       db_column: MZ 
     */
	@Column("MZ")
	private String mz;
    /**
     * csrq       db_column: CSRQ 
     */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@Column("CSRQ")
	private Date csrq;
    /**
     * onlycode       db_column: ONLYCODE 
     */
	@Column("ONLYCODE")
	private Object onlycode;
    /**
     * appid       db_column: APPID 
     */
	@Column("APPID")
	private String appid;
    /**
     * operateip       db_column: OPERATEIP 
     */
	@Column("OPERATEIP")
	private String operateip;
    /**
     * operateflag       db_column: OPERATEFLAG 
     */
	@Column("OPERATEFLAG")
	private Long operateflag;
    /**
     * operatetime       db_column: OPERATETIME 
     */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@Column("operatetime")
	private Date operatetime;
    /**
     * deleteflag       db_column: DELETEFLAG 
     */ 
	@Column("DELETEFLAG")
	private Long deleteflag;
    /**
     * operator       db_column: OPERATOR 
     */
	@Column("OPERATOR")
	private String operator;
    /**
     * readonly       db_column: READONLY 
     */ 
	@Column("READONLY")
	private Integer readonly;
	//columns END
	
	//注意： spring_jdbc的MetadataCreateUtils.fromTable(Entity.class) 可以读取JPA annotation的标注信息
	//现支持 @Id,@Column,@Table标注
	@Column("DZZJC")
	@Readonly
	private String dzzjc;
	
	@Column("XBC")
	@Readonly
	private  String xbc;
	
	@Column("MZC")
	@Readonly
	private  String mzc;
	
	@Column("AGE")
	@Readonly
	private  Integer age;
	
	@Column("RDRQC")
	@Readonly
	private String rdrqc;
	
	@Column("XLC")
	@Readonly
	private String xlc;
	
	@Column("ZGXL")
	@Readonly
	private String zgxl;
	
	@Column("ZCC")
	@Readonly
	private String zcc;
	
	@Column("ZC")
	@Readonly
	private String zc;
	
	@Column("DYLB")
	@Readonly
	private String dylb;

	@Column("SZZB")
	@Readonly
	private String szzb;
	
	
	//////////


    /** 工作岗位名称 */
	@Column("GZGWMC")
	@Readonly
    private String gzgwmc;

    /** 新社会阶层情况 */
	@Column("XSHJCQK")
	@Readonly
    private String xshjcqk;


    /** 农民工标志 */
	@Column("NMGBZ")
	@Readonly
    private String nmgbz;

    /** 联系方式 */
	@Column("LXFS")
	@Readonly
    private String lxfs;



    /** 职称级别 */
	@Column("ZCJB")
	@Readonly
    private String zcjb;

    /** 籍贯 */
	@Column("JG")
	@Readonly
    private String jg;

    /** 当前发展阶段 */
	@Column("DQFZJD")
	@Readonly
    private String dqfzjd;

    
    /** 信息完整度 */
   /* private double XXWZD;*/
    
    /**  转正日期  */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@Column("ZZRQ")
	@Readonly
    private Date zzrq;
    
    /** 党籍状态 */
	@Column("DJZT")
	@Readonly
    private String djzt;
    
    /**  家庭住址  */
	@Column("JTZZ")
	@Readonly
    private String jtzz;
    
    /** 是否失联党员 */
	@Column("SFSLDY")
	@Readonly
    private String  sfsldy;
    
    /** 失联日期 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@Column("SLRY")
	@Readonly
    private Date slrq;
    
    /** 是否为流动党员 */
	@Column("SFLDDY")
	@Readonly
    private String sflddy;
    
    /** 外出流向 */
	@Column("WCLX")
	@Readonly
    private String wclx;
    
    /** 入党时新社会阶层 t3 表 */
	@Column("RDSXSHJC")
	@Readonly
    private String rdssxshjc;
	
	 /** 入党日期t3 表 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@Column("RDRQ")
	@Readonly
	private Date rdrq;
	
	@Column("NMGBZS")
	@Readonly
	private String nmgbzs;
	
}

